home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / demos / demobook / demobook.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  1994-08-02  |  608 b   |  23 lines

  1. #! /bin/csh -f
  2.  
  3. if {$?XUSERFILESEARCHPATH} then
  4.     setenv XUSERFILESEARCHPATH "`pwd`/%N:$XUSERFILESEARCHPATH"
  5. else
  6.     setenv XUSERFILESEARCHPATH "`pwd`/%N"
  7. endif
  8.  
  9. cd ../../../
  10.  
  11. setenv DEMOS `pwd`
  12. cd src/demos/demobook
  13. ./demobook book.contents.ascii &
  14.  
  15. switch (`xconfirm -header "demobook-launching 'jingle'" -geometry 276x160+50+580 -t "wanna hear the jingle that goes with" -t "launching demobook?  (it breaks up" -t "because it's located on the CD" -t "--instead of yer local disk.)" -b No -B Yes`)
  16.   case "Yes":
  17.     /usr/sbin/playaiff /CDROM/data/sounds/dt4.1.aifc
  18.     breaksw
  19.   case "No":
  20.     breaksw
  21. endsw
  22.  
  23.